import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'home',
    component: () => import('../home.vue')
  },
  {
    path: '/screen',
    name: 'screen',
    component: () => import('../components/screen.vue')
  }
]

const route = createRouter({
  history: createWebHashHistory(),
  routes
})

export default route
